Prolog Server Pages
نویسندگان
چکیده
Prolog Server Pages (PSP) is a scripting language, based on Prolog, than can be embedded in HTML documents. To run PSP applications one needs a web server, a web browser and a PSP interpreter. The code is executed, by the interpreter, on the server-side (web server) and the output (together with the html code in witch the PSP code is embedded) is sent to the client-side (browser). The current implementation supports Apache Web Server. We implemented an Apache web server module that handles PSP files, and sends the result (an html document) to the client. PSP supports both GET and POST http requests. It also provides methods for working with http cookies. In the spirit of Open Source movement we chose not to implement from ground a Prolog compiler, but rather to use an existing product. We chose SWIProlog as the Prolog backend of our application. PSP is open source software, distributed under the LGPL license.
منابع مشابه
Prolog Server Faces – A Declarative Framework for Dynamic Web Pages
With Prolog Server Faces, we provide a stateful and event driven framework for dynamic web applications written in PROLOG and XML. Following the MVC concept, the view of web pages is fully specified in a compact XML definition with statements for processing backend logic in PROLOG. Our framework provides an extensive, and easy to extend, tag library for compact XML, which will be expanded to XH...
متن کاملProsper: A Framework for Extending Prolog Applications with a Web Interface
Clear separation of presentation and code-behind, declarative use of visual control elements and a supportive background framework to automate recurring tasks are fundamental to rapid web application development. In this paper, a framework is presented that facilitates extending Prolog applications with a web front-end. The framework relies on Prolog to the greatest possible extent, supports co...
متن کاملSWISH: SWI-Prolog for Sharing
Recently, we see a new type of interfaces for programmers based on web technology. For example, JSFiddle, IPython Notebook and R-studio. Web technology enables cloud-based solutions, embedding in tutorial web pages, attractive rendering of results, web-scale cooperative development, etc. This article describes SWISH, a web front-end for Prolog. A public website exposes SWIProlog using SWISH, wh...
متن کاملDistributed WWW Programming using (Ciao-)Prolog and the PiLLoW library
We discuss from a practical point of view a number of issues involved in writing distributed Internet and WWW applications using LP/CLP systems. We describe PiLLoW, a publicdomain Internet and WWW programming library for LP/CLP systems that we have designed in order to simplify the process of writing such applications. PiLLoW provides facilities for accessing documents and code on the WWW; pars...
متن کاملبهینهسازی اجرا و پاسخ صفحات وب در فضای ابری با روشهای پیشپردازش، مطالعه موردی سامانههای وارنیش و انجینکس
The response speed of Web pages is one of the necessities of information technology. In recent years, renowned companies such as Google and computer scientists focused on speeding up the web. Achievements such as Google Pagespeed, Nginx and varnish are the result of these researches. In Customer to Customer(C2C) business systems, such as chat systems, and in Business to Customer(B2C) systems, s...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید
ثبت ناماگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید
ورودعنوان ژورنال:
- CoRR
دوره abs/cs/0603101 شماره
صفحات -
تاریخ انتشار 2003